﻿using Customer.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Customer.Infrstructre.ProcurementManager
{
    /// <summary>
    /// 产品采购仓储接口
    /// </summary>
    public class ProcureProductRepository : BaseRepository<ProcureProduct>, IProcureProductRepository
    {

        public ProcureProductRepository(EFCoreDBcontext db) : base(db) 
        {
            
        }


        public async Task<int> AddAsync(ProcureProduct entity)
        {
            return await base.AddAsync(entity);
        }

        public async Task<List<ProcureProduct>> GetAllAsync()
        {
            return await base.GetAllAsync();
        }



    }
}
